public class Demo2ImplementsThread {

    public static void main(String[] args) {
        PrintCharDemo2 t1 = new PrintCharDemo2('A',100);
        PrintCharDemo2 t2 = new PrintCharDemo2('B',100);

        t1.start();
        t2.start();
    }
}
